package com.zerdoor.service.impl;

import com.zerdoor.dao.ArtistDao;
import com.zerdoor.service.ArtistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaoji on 2014/10/31.
 */
@Service
public class ArtistServiceImpl implements ArtistService {
    @Autowired
    private ArtistDao artistDao;

    @Override
    public List<Map<String, Object>> getNewArtists() {
        return artistDao.getNewArtists();
    }

    @Override
    public List<Map<String, Object>> getArtistProduction() {
        return artistDao.getArtistProduction();
    }

    @Override
    public List<Map<String, Object>> getFamousArtists() {
        return artistDao.getFamousArtists();
    }

    @Override
    public List<Map<String, Object>> getHotArtists() {
        return artistDao.getHotArtists();
    }

    @Override
    public List<Map<String, Object>> getIncomeArtistsByMonth() {
        return artistDao.getIncomeArtistsByMonth();
    }
}
